package com.haida.translation_web.controller;

import com.haida.translation_web.aop.ann.LimitAccess;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author LHJ_Jack
 * @Date 2021/05/27 星期四 14:02
 */
@RestController
public class TestController {
    @GetMapping("/haha")
    @LimitAccess()
    public String test(){
        return "haha";
    }
}
